package com.zhaishuaishuai.serviceCaller.controller;

import com.zhaishuaishuai.serviceCaller.service.ForRibbonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class ForRibbonController {

    @Autowired
    private ForRibbonService forRibbonService;

    @RequestMapping("/ribbon")
    @ResponseBody
    public String forRibbon(){
        return forRibbonService.sayHello();
    }



}
